home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
User's Choice Windows CD
/
User's Choice Windows CD (CMS Software)(1993).iso
/
utility2
/
wine02bx.zip
/
LISP
/
PACKAGES
/
DABBREV.ELC
< prev
next >
Wrap
Text File
|
1993-03-28
|
4KB
|
57 lines
;;; compiled by jwz@thalidomide on Thu Jul 2 16:32:25 1992
;;; from file /u/jwz/emacs19/lisp/packages/dabbrev.el
;;; emacs version 19.2.1 Lucid.
;;; bytecomp version 2.07; 17-jun-92.
;;; optimization is on.
;;; this file uses opcodes which do not exist in Emacs18.
(if (and (boundp 'emacs-version)
(or (and (boundp 'epoch::version) epoch::version)
(string-lessp emacs-version "19")))
(error "This file was compiled for Emacs19."))
(provide 'dabbrevs)
(defvar dabbrevs-limit nil "\
*Limits region searched by dabbrevs-expand to that many chars away (local).")
(make-variable-buffer-local 'dabbrevs-limit)
(defvar dabbrevs-backward-only nil "\
*If non-NIL, dabbrevs-expand only looks backwards.")
(defvar last-dabbrevs-table nil "\
Table of expansions seen so far. (local)")
(make-variable-buffer-local 'last-dabbrevs-table)
(defvar last-dabbrevs-abbreviation "" "\
Last string we tried to expand. Buffer-local.")
(make-variable-buffer-local 'last-dabbrevs-abbreviation)
(defvar last-dabbrevs-direction 0 "\
Direction of last dabbrevs search. (local)")
(make-variable-buffer-local 'last-dabbrevs-direction)
(defvar last-dabbrevs-abbrev-location nil "\
Location last abbreviation began (local).")
(make-variable-buffer-local 'last-dabbrevs-abbrev-location)
(defvar last-dabbrevs-expansion nil "\
Last expansion of an abbreviation. (local)")
(make-variable-buffer-local 'last-dabbrevs-expansion)
(defvar last-dabbrevs-expansion-location nil "\
Location the last expansion was found. (local)")
(make-variable-buffer-local 'last-dabbrevs-expansion-location)
(fset 'dabbrev-expand #[(arg) "└ëëëëëë ¡ü\n \nè¼Ö=½Æ½Ä\n¬¼¼è½â╙¬ç╘¬ä╒!`╓vê``{ë\n└└┘┌\n!█Q╘Y½║╙]½äbê╘V½¢▄▌#ë ½æ▐ BSë¬a ¼â└╙^╘X½╡ ¼▒╙[]½äbê╘V½¢▄└#ë ½æ▐ BSë¬a╓) ¼¬\nÿ└¼ìα êßG!ê\ncêΓ½âπ¬üΣ\n\")¬ñα êσ!êµ ¡à ëùÿ?τ#ê\n ë.ç" [nil case-fold-search case-replace do-case pattern n loc which old expansion abbrev arg last-command this-command last-dabbrevs-abbrev-location last-dabbrevs-abbreviation last-dabbrevs-expansion last-dabbrevs-direction dabbrevs-backward-only 1 0 prefix-numeric-value -1 last-dabbrevs-expansion-location last-dabbrev-table "\\b" regexp-quote "\\(\\sw\\|\\s_\\)+" dabbrevs-search t point-marker first undo-boundary delete-backward-char error "No dynamic expansion for \"%s\" found." "No further dynamic expansions for \"%s\" found." search-backward replace-match literal] 9 "\
Expand previous word \"dynamically\".
Expands to the most recent, preceding word for which this is a prefix.
If no suitable preceding word is found, words following point are considered.
If `case-fold-search' and `case-replace' are non-nil (usually true)
then the substituted word may be case-adjusted to match the abbreviation
that you had typed. This takes place if the substituted word, as found,
is all lower case, or if it is at the beginning of a sentence and only
its first letter was upper case.
A positive prefix argument, N, says to take the Nth backward DISTINCT
possibility. A negative argument says search forward. The variable
dabbrev-backward-only may be used to limit the direction of search to
backward if set non-nil.
If the cursor has not moved from the end of the previous expansion and
no argument is given, replace the previously-made expansion
with the next possible expansion not yet tried." "*P"])
(fset 'dabbrevs-search #[(pattern reverse ignore-case) "└ë î½É`½â╚¬ü╔_\\}ê└└¼╦¼╚½ê╩└╠#¬å═└╠#?ë¼c╬ö╬ò{ë½¢ ½ë@ùùÿ¬à@ÿ¼êAë¼e½é└)¬2½┐è╬öëbê ½│╔└O╔└Oùÿ½º╙Pÿ½Å╩└╠#½û╬òU¬è╔uê╓ ê`U½âù*,ç" [nil ignore-case case-fold-search result missing dabbrevs-limit last-dabbrevs-abbrev-location reverse -1 1 re-search-backward pattern t re-search-forward 0 last-dabbrev-table test beg paragraph-start "^$\\|" page-delimiter sentence-end backward-sentence] 5])